package bairui.international.console.web.controller.advance.category.properties.item;

import com.lianjing.sh.spring.web.controller.enhance.module.Module;
import com.lianjing.sh.spring.web.controller.enhance.module.ModuleHead;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageFilterInfo;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageModuleBody;

/**
 *
 * Module_PropertiesDetail
 *
 */
class Module_PropertiesDetail{

	/**
	 * 分页模块
	 */
	public Module module(
		com.lianjing.sh.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_Advance_Category_PropertiesItemDetail_Page.Page.Operate c_Advance_Category_PropertiesItemDetail_Page_Page_Operate
	,	C_Advance_Category_PropertiesItemAdd_PageAccess.PageAccess.Operate c_Advance_Category_PropertiesItemAdd_PageAccess_PageAccess_Operate
	,	C_Advance_Category_PropertiesItemDelete_Deletes.Deletes.Operate c_Advance_Category_PropertiesItemDelete_Deletes_Deletes_Operate
	,	C_Advance_Category_PropertiesItemEdit_EditAccess.EditAccess.Operate c_Advance_Category_PropertiesItemEdit_EditAccess_EditAccess_Operate
	){
		return
			new Module(
					new ModuleHead("属性项详情")
						.addOperate(
							c_Advance_Category_PropertiesItemAdd_PageAccess_PageAccess_Operate
								.defaultComment("添加")
								.defaultTarget(com.lianjing.sh.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addOperate(
							c_Advance_Category_PropertiesItemDelete_Deletes_Deletes_Operate
								.defaultComment("删除")
						)
					, 
					new PageModuleBody(
							moduleFeature,
							PropertiesDetail_OutputInfo.outputInfo(),
							new PageFilterInfo(
									PropertiesDetail_BaseFilter.info(), 
									PropertiesDetail_OutputInfo.pageInfo(), 
									PropertiesDetail_OutputInfo.orderInfo()
								),
							c_Advance_Category_PropertiesItemDetail_Page_Page_Operate
						)
						.addListOperate(
							c_Advance_Category_PropertiesItemEdit_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
								.defaultTarget(com.lianjing.sh.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_Advance_Category_PropertiesItemDetail_Page.Page.Operate c_Advance_Category_PropertiesItemDetail_Page_Page_Operate
	,	C_Advance_Category_PropertiesItemAdd_PageAccess.PageAccess.Operate c_Advance_Category_PropertiesItemAdd_PageAccess_PageAccess_Operate
	,	C_Advance_Category_PropertiesItemDelete_Deletes.Deletes.Operate c_Advance_Category_PropertiesItemDelete_Deletes_Deletes_Operate
	,	C_Advance_Category_PropertiesItemEdit_EditAccess.EditAccess.Operate c_Advance_Category_PropertiesItemEdit_EditAccess_EditAccess_Operate
	){
		return this.module(
				null,
				c_Advance_Category_PropertiesItemDetail_Page_Page_Operate
	,			c_Advance_Category_PropertiesItemAdd_PageAccess_PageAccess_Operate
	,			c_Advance_Category_PropertiesItemDelete_Deletes_Deletes_Operate
	,			c_Advance_Category_PropertiesItemEdit_EditAccess_EditAccess_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
